package com.etc.homework;

import java.util.HashSet;

/**
 * @author: knowno
 * @create: 2024-09-11 09:15
 * @Version 1.0
 **/
public class EmployeeDao {

    HashSet<Employee> hashSet = new HashSet<Employee>();


    /**
     * 添加员工的方法...
     * @param employee 员工对象
     * @return  true 添加成功 false  添加失败
     */
    public boolean addEmp(Employee employee) {
        hashSet.add(employee);
        return true;
    }
}
